package com.kingwang.demo.springsecuritytokendemo.security;

/**
 * @author King
 */
public enum AuthenticationResultCode {
    SUCCESS(200, "认证成功"),

    FAILED(401, "认证失败");

    private int code;

    private String value;

    AuthenticationResultCode(int code, String value) {
        this.code = code;
        this.value = value;
    }

    public int getCode() {
        return this.code;
    }

    public String getValue() {
        return this.value;
    }
}
